<template>
  <div>
    <div class="block">
    <span class="demonstration">完整功能</span>
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="currentPage1"
      :page-sizes="[100, 200, 300, 400,600,]"
      :page-size="100"
      layout="total, sizes, prev, pager, next, jumper"
      :total="4000">
    </el-pagination>
  </div>
  </div>
</template>

<script>
   export default {
    methods: {
      handleSizeChange(val) {
        console.log(`每页 ${val} 条`);
      },
      handleCurrentChange(val) {
        console.log(`当前页: ${val}`);
      }
    },
    data() {
      return {
        currentPage1: 1,
        currentPage2: 5,
        currentPage3: 5,
        currentPage4: 4
      };
    }
  }

</script>

<style>
</style>
